Following are the built-in commands supported by the Xtend IVR engine.
Answer command causes the script to pickup the phone line.
Syntax
Answer [number of rings]Tell me more!
The beep command produces a beep sound on the auxiliary multimedia device or on the phone line if connected.
Syntax
Beep <frequency> <duration>
BgPlay command plays the specified .wav file in the background.
Syntax
BgPlay <wave file>
BgVolume command adjusts the background play back volume.
Syntax
BgVolume <percent>
Bp (Break Point) command automatically sets a break point inside the script.
Syntax
Bp
The Break command will cause the execution of the script to break out of the current WHILE loop.
Syntax
Break
The Clear command will immediately clear any pending ON, PLAY, RECORD and SPEAK commands and removes any pending keys from the input queue.
Syntax
Clear
The Continue command will continue the looping in the While loop.
Syntax
Continue
Display command prints messages in the Display area of the Main window.
Syntax
Display <string>
The Exit command will cause the execution of the script to break out of the current WHILE loop.
Syntax
Exit
The Function command identifies the start of a user-defined function.
Syntax
Function FunctionName ( Parameters )
<statements>
Return [Expression]Tell me more!
The Goto command causes the script to jump to the specified label and start execution from that position.
Syntax
Goto <label>
Hangup command hangs up the call.
Syntax
Hangup
The Load command will load all variables from the given file.
Syntax
Load <filename>
The Log command will log the given text into the log file maintained in the log directory.
Syntax
Log <string | variable>
The Loop command will continue the looping in the While loop.
Syntax
Loop
On command will cause a jump to the specified <label> if the given <key> has been pressed.
Syntax
On <key> Goto <label>
Play command will playback the specified .wav file on the phone line.
Syntax
Play <wavefile>
The Record command will record the incoming voice.
Syntax
Record <seconds>
The Reject command rejects the incoming calls.
Syntax:
Reject
The Restart command restarts Xtend IVR from Script.
Syntax
Restart
The Run command will execute the specified program.
Syntax
Run <exe file>
or
! <exe file>
The Runtimeout command sets the timeout in seconds for any subsequent RUN commands.
Syntax
Runtimeout <seconds>
The Save command will save all variables to the given file.
Syntax
Save <filename>
The Sleep command suspends the execution of the current script for a specified interval.
Syntax
Sleep <duration>
The SleepEvent command suspends the execution of the current script for a specified interval of time or until an event occurs.
Syntax
SleepEvent <duration>
The Speak command will speak out the given text.
Syntax
Speak [String]
The Timeout command sets the timeout for an incoming call in seconds.
Syntax
Timeout <seconds>
The VoiceLog command will log the telephony audio to a specified file.
Syntax
VoiceLog <wave file>
Volume command will adjust the playback volume of the specified .wav file.
Syntax
Volume <percent>
The Wait command will wait for the specified number of milliseconds.
Syntax
Wait <milliseconds>